
.title{
    background-color: #00a472;
    a{
        display: block;
        width: 1280px;
        margin: 0 auto;
        height: 80px;
        background: #00a472 url(../static/img/title.jpg) no-repeat center;
    }
}

// 搜索栏
.search{
    width: 1200px;
    height: 100px;
    margin: 0 auto;
    h1{
        margin-top: 12px;
        a{
            display: block;
            width: 75px;
            height: 75px;
            img{
                width: 100%;
                height: 100%;
            }
        }
    }
    .shopcar{
        width: 158px;
        height: 34px;
        line-height: 34px;
        border: 1px solid #bdbdbd;
        background: #fff;
        margin-top: 21px;
        cursor: pointer;
        .i_c{
            color: red;
            margin-left: 5px;
            
        }
        .num{
            margin: 0 20px;
            font-size: 16px;
            color: #900;
        }
    }
    .s_main{
        width: 533px;
        margin-right: 216px;
        margin-top: 21px;
        form{
            height: 36px;
            
            div{
               border: solid 3px #c7181d; 
               height: 100%;
            }
            input{
                width: 447px;
                height: 100%;
                color: #555;
                padding-left: 5px;
                font-size: 14px;
                float: left;
                border: none;
            }
            button{
                float: right;
                width: 71px;
                height: 36px;
                background-color: #c7181d;
                border: none;
                cursor: pointer;
                .iconfont{
                    font-size: 26px;
                    color: #fff;
                }
            }
        }
        ul{
            li{
                float: left;
                margin-right: 8px;
                margin-top: 5px;
                a:hover{
                    border-bottom: 1px solid #666;
                }
            }          
            .h_active{
                a{
                    color: red;
                }
                a:hover{
                    border-bottom: 1px solid red;
                }
            }
        }
    }
}

// 导航栏
.head_nav{
    width: 100%;
    height: 39px;
    background-color: #a71b1b;
    border-top: 1px solid #a71b1b;
    .nav{
        width: 1200px;
        margin: 0 auto;
        position: relative;
        .nav_all{
            float: left;
            width: 190px;
            line-height: 39px;
            font-size: 15px;
            .nav_a{
                padding-left: 10px;
            }
            a{
                font-size: 15px;
                color: #fff;
                span{
                    margin-right: 56px;
                }
            }
            &:hover{
                background-color: #b61b1b;
            }
        }
        .nav_detail{
            width: 190px;
            position: absolute;
            top: 40px;
            z-index: 11;
            background-color: rgba(248,248,248,.9);
            li{
                line-height: 22px;
                height: 24px;
                padding: 6px 5px 6px 15px;          
                border-bottom: 2px solid rgba(248,248,248,.9);
                &:hover{
                    background-color: #fff;
                    border-bottom: 2px solid #eee;
                }
                &:hover i{
                    transform: rotate(-360deg);
                }
                &:hover div{
                    display: block;
                }
                a{
                    color: #333;
                    font-size: 13px;
                    &:hover span{
                        color: red;
                        border-bottom: 1px solid red;
                    }
                    i{
                        display: inline-block;
                        width: 16px;
                        height: 16px;
                        vertical-align: middle;
                        background: url(../static/img/bg.png) no-repeat;
                        background-size: 100% 100%;
                        transition: 0.5s linear;
                    }
                }
                div{
                    width: 1000px;
                    height: 494px;
                    background-color: yellow;
                    position: absolute;
                    top: 0px;
                    left: 190px;
                    font-size: 30px;
                    color: black;
                    display: none;
                }
            }
        }
        .nav_r li{
            float: left;
            width: 100px;
            line-height: 39px;
            text-align: center;
            font-size: 15px;
            font-weight: 500;
            a{
                color: #fff;
            }
            &:hover{
                background: #671b1b;
            }
        }

    }
}

// banner
.banner{
    width: 100%;
    height: 495px;
    position: relative;
    overflow: hidden;
    .imgbox{
        width: 100%;
        height: 100%;
        a{
           width: 100%;
           height: 495px;
           position: absolute;
           left: 100%;
           top: 0; 
           &:nth-child(1){
            left: 0;
        }
        }
        img{
            width: 100%;
            height: 100%;
        }
    }
    .list{
        width: 500px;
        height: 30px;
        position: absolute;
        bottom: 20px;
        right: 80px;
        span{
            display: inline-block;
            width: 15px;
            height: 15px;
            background-color: #fff;
            border-radius: 50%;margin-right: 10px;
        }
        span.active{
            background-color: red;
        }
    }
}

// 内容区
.content{
    width: 100%;
    background-color: #f3f4f6;
    // 底价特卖
    .spSale{
        width: 1200px;
        margin: 0 auto;
        .sale{
            width: 100%;
            padding-top: 20px;
            .sale_top{
                width: 100%;
                height: 53px;
                background-color: #fff;
                h4{
                    float: left;
                    width: 210px;
                    line-height: 53px;
                    color: #333;
                    font-size: 16px;
                    text-align: center;
                    cursor: pointer;
                }
                .active{
                    color: #d63334;
                    height: 52px;
                    border-bottom: 1px solid #c5181c;
                }
            }
            .sale_bot1{
                display: none;
            }
            .sale_bot{
                ul{
                    width: 1200px;
                    height: 285px;
                    background-color: #fff;
                    border-top: 1px solid #f1f0ec;
                    .li_n{
                        border-left: solid 1px #f1f0ec;
                    }
                    li{
                        width: 200px;
                        height: 259px;
                        padding: 10px 19px;
                        float: left;
                        position: relative;
                        &:hover{
                            box-shadow: 0 16px 30px -14px rgba(0,36,100,0.3);
                            top: -2px;
                        }
                        .p_name{
                            height: 22px;
                            line-height: 22px;
                            margin-top: 5px;
                            font-size: 14px;
                            color: #333;
                            white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }
                        p{
                            margin-top: 10px;
                            line-height: 18px;
                            text-align: center;
                            color: #c52e13;
                            font-size: 18px;
                        }
                    }
                }
                
            }
        }
    }

    // 广告
    .advert{
        width: 1200px;
        margin: 20px auto 20px;
        // overflow: hidden;
        a{
            display: block;
        }
    }

    // 美食
    .part{
        width: 1200px;
        margin: 0 auto 20px;
        .part_t{
            height: 40px;
            padding-bottom: 1px;
            border-bottom: 1px solid #f7b30f;
            .part_c{
                float: left;
                // display: inline-block;
                width: 5px;
                margin-top: 3px;
                height: 25px;
                background-color: #ff7b30;
            }
            h3{
                float: left;
                margin-left: 15px;
                margin-right: 10px;
                font-size: 22px;
                font-weight: bolder;
                color: #ff7b30;
            }
            p{
                float: left;
                margin-top: 12px;
                line-height: 16px;
                a{
                    margin-left: 10px;
                    color: #99999b;
                    font-size: 14px;
                    &:hover{
                        color: #a73434;
                    }
                }
            }
            .part_r{
                float: right;
                margin: 12px 0 7px 7px;
            }
            .part_rr{
                float: right;
                color: #333;
                font-size: 14px;
                margin-top: 12px;
                line-height: 16px;
                &:hover{
                    color: #ff7b30;
                }
            }
        }
        .part_b{
            height: 550px;
            // background-color: #fff;
            .p_bl{
                float: left;
                width: 270px;
                height: 100%;
                img{
                    display: block;
                }
            }
            .p_br{
                width: 930px;
                height: 100%;
                float: left;
                ul{
                    overflow: hidden;
                    li{
                        float: left;
                        background-color: #fff;
                        padding: 10px;
                        width: 202px;
                        height: 250px;
                        margin-left: 10px;
                        margin-bottom: 10px;
                        position: relative;
                        &:hover{
                            top: -2px;
                            box-shadow: 0 16px 30px -14px rgba(0,36,100,0.3);
                        }
                        a{
                            display: block;
                            img{
                                width: 202px;
                                height: 200px;
                                display: block;
                            }
                        }
                        p{
                            margin-top: 8px;
                            a{
                                color: #333;
                                white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                font-size: 14px;
                            }
                        }
                        .part_price{
                            text-align: center;
                            a{
                                color: #c52e13;
                                font-size: 18px;
                            }
                        }
                    }
                }

            }
        }
    }

    // 家具
    .part_home{
        .part_t{
            border-bottom: 1px solid #1bb145;
            .part_c{
                background-color: #1bb145;
            }
            h3{
                color: #1bb145;
            }
            .part_rr{
                &:hover{
                    color: #1bb145;
                }
            }
        }
    }

    // 智能生活
    .part_Intelligence{
        .part_t{
            border-bottom: 1px solid #2289ff;
            .part_c{
                background-color: #2289ff;
            }
            h3{
                color: #2289ff;
            }
            .part_rr{
                &:hover{
                    color: #2289ff;
                }
            }
        }
    }

    // 时尚生活
    .part_fashion{
        .part_t{
            border-bottom: 1px solid #000;
            .part_c{
                background-color: #000;
            }
            h3{
                color: #000;
            }
            .part_rr{
                &:hover{
                    color: #000;
                }
            }
        }
    }

    // 美妆洗护
    .part_Beauty{
        .part_t{
            border-bottom: 1px solid #ff2f91;
            .part_c{
                background-color: #ff2f91;
            }
            h3{
                color: #ff2f91;
            }
            .part_rr{
                &:hover{
                    color: #ff2f91;
                }
            }
        }
    }

    // 逛一逛
    .look{
        width: 1200px;
        margin: 0 auto;
        h2{
            font-size: 22px;
            color: #333;
            text-align: center;
        }
        .look_cont{
            width: 100%;
            padding-top: 10px;
            margin-bottom: 20px;
            ul{
                overflow: hidden;           
                li{
                    float: left;
                    width: 200px;
                    height: 280px;
                    padding: 15px;
                    margin: 6px 6px 6px 0;
                    background-color: #fff;
                    position: relative;
                    img{
                        width: 200px;
                        height: 200px;
                    }
                    &:hover{
                        box-shadow: 0 16px 30px -14px rgba(0,36,100,0.3);
                        top: -2px;
                    }
                    p{
                        height: 22px;
                        line-height: 22px;
                        margin-top: 5px;
                        font-size: 14px;
                        color: #333;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        span{
                            font-size: 18px;
                            color: #c52e13;
                        }
                        .look_ra{
                            float: right;
                        }
                    }
                }
                .pic{
                    width: 230px;
                    height: 310px;
                    padding: 0;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
                .look_r{
                    margin: 6px 0 6px 6px;
                }    
            }
            h3{
                font-size: 20px;
                text-align: center;
                margin: 30px auto;

            }

        }
    }

}

.floor{
    position: fixed;
    left: 24.5px;
    bottom: 25px;
    display: none;
    .first:hover span{
        background-color: #ff7b30;
    }
    .second:hover span{
        background-color: #1bb145;
    }
    .three:hover span{
        background-color: #2289ff;
    }
    .four:hover span{
        background-color: #010101;
    }
    .five:hover span{
        background-color: #ff2f91;
    }
    .fActive1{
        color: #fff;
        background-color: #ff7b30;
    }
    .fActive2{
        color: #fff;
        background-color: #1bb145;
    }
    .fActive3{
        color: #fff;
        background-color: #2289ff;
    }
    .fActive4{
        color: #fff;
        background-color: #010101;
    }
    .fActive5{
        color: #fff;
        background-color: #ff2f91;
    }
    p{
        width: 32px;
        height: 32px;
        padding: 10px 0;
        cursor: pointer;
        color: #666666;
        text-align: center;
        &:hover{
            color: #fff;
        }
        span{
            display: block;
            line-height: 14px;
            border-radius: 4px;
            padding: 1px 0;

        }
    }
    .top{
        width: 32px;
        height: 32px;
        padding: 10px 0;
        cursor: pointer;
        padding: 0;
        background: url(../static/img/top.png) no-repeat;
        background-size: 100% 100%;
    }
}

